<?php
/**
 * Created by PhpStorm.
 * User: dengyun
 * Date: 2017/8/4
 * Time: 13:56
 */

namespace app\api\validate;


class IDMustBePostiveInt extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger',
        'num' => 'require'
    ];

    protected $message = [
        'id' => 'id 必须是正整数',
        'num' => 'num 必须是正整数'
    ];

}